/**
 * 作者: hxl
 * 日期: 2025-02-12 11:20:08
 * 备注: 冲榜总表
 */
package com.motu.monstercity.server.game.commondata.act;
import com.motu.vertx.module.utility.toolset.Tool;
import io.vertx.core.json.JsonObject;

public class ActTopRanking extends ActTopRankingModel {
    public static final byte RANK_TYPE_EARN = 1; // 赚速
    public static final byte RANK_TYPE_STAGE = 2; // 关卡进度
    public static final byte RANK_TYPE_SECR_LIKE = 3; // 秘书喜爱值
    public static final byte RANK_TYPE_CHILD_EARN = 4; // 子嗣收益
    public static final byte RANK_TYPE_RESTAURANT_SCORE = 5; // 餐厅人气
    public static final byte RANK_TYPE_FEAST_SCORE = 6; // 派对人气
    public static final byte RANK_TYPE_DIAMOND_COST = 7; // 钻石消耗
    public static final byte RANK_TYPE_SNATCH_EARN = 8; // 物资增加
    public static final byte RANK_TYPE_PARTNER_POWER = 9; // 干员总实力
    public static final byte RANK_TYPE_SECRETARY_CHARM = 10; // 秘书魅力

    public static final byte RANK_TYPE_UNION_EXP = 50; // 联盟经验

    public ActTopRanking(JsonObject obj) {
        super(obj);
    }


    public static boolean isGetMaxScore(int type) {
        return switch (type) {
            case RANK_TYPE_EARN, RANK_TYPE_PARTNER_POWER -> true;
            default -> false;
        };
    }

}
